

	<!-- 可变效果区 -->
	<div class="main ">

		<div class="row">
			<div class="col-lg-12">
				<h3 class="page-header"><i class="fa fa-indent"></i>权限添加</h3>

			</div>
		</div>

		<div class="row">
		    <div class="col-md-10">
		        <div class="panel panel-default">
		            <div class="panel-heading">
		                <h2><i class="fa fa-indent red"></i><strong>添加</strong></h2>
		            </div>
					<div class="panel-body">
						<form action="index.php?c=power&a=add&admin=1" method="post" enctype="multipart/form-data" class="form-horizontal ">

			                <div class="form-group">
			                    <label class="col-md-2 control-label" for="text-input">权限名称</label>
			                    <div class="col-md-8">
			                        <input type="text" id="text-input" name="name" class="form-control" placeholder="请输入用户名">

			                    </div>
			                </div>
			                <div class="form-group">
			                    <label class="col-md-2 control-label" for="text-input">权限规则</label>
			                    <div class="col-md-8">
			                        <input type="text" id="text-input" name="rule" class="form-control" placeholder="例子： admin/add">

			                    </div>
			                </div>
			                <div class="form-group">
			                    <label for="select" class="col-md-2 control-label">权限模块</label>
			                    <div class="col-md-2 sublevel">
			                        <select name="pid" size="1" class="form-control select_cate" id="select">
			                            <option value="0">顶级分类</option>
			                            <?php foreach($data as $v){?>
			                            <option value="<?php echo $v['id']?>"><?php echo $v['name'];?></option>
			                            <?php }?>
			                        </select>
			                    </div>
			                </div>


					</div>
					<div class="panel-footer" style="text-align: center;">
	                    <button type="submit" class="btn btn-sm btn-success"><i class="fa fa-dot-circle-o"></i>提交</button>
                        <button type="reset" class="btn btn-sm btn-danger"><i class="fa fa-ban"></i>重置</button>
	                </div>
	                </form>
		        </div>
		    </div>


		</div><!--/.row-->

	</div>
	<!-- end: Content -->
	<br><br><br>


	<script src="resources/admin/js/jquery-2.1.1.min.js"></script>
	<script type="text/javascript">
		$(function(){


		})
	</script>